@import url("base.css");
@import url("normalize.css");


@media (min-width: 900px) {
    html {
        font-size: 18px;
    }
}

@media (max-width:1420px) {
    .box {
        padding: 0;

        .center {
            width: 100%;
        }
    }


}

@media (min-width:1420px) {
    .center {
        width: 1400px;
    }
}

body {
    background-color: #050505;
}

/**** 默认衣册汇样式（暗黑）*/
/* 盒子样式设置 */
.box {
    font-family: 'WenQuanYi Micro Hei';
    background-color: #050505;
    // /* height: 100vh; */
    width: 100%;
    display: flex;
    object-fit: cover;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.center {
    width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    // height: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 15px;
    /* background-color: #532121 */
}

/**** */
/* 头部样式设置 */
.header {

    width: 100%;
    height: 4.3rem;
    background-color: #121212;
    font-size: 1rem;
    color: #fff;
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    z-index: 999;

    img {
        height: 42px;
        margin-top: 8px;
        margin-right: 0.45rem;
        padding: 0 10px;
    }

    .search {
        height: 2.3rem;
        width: 30%;
        position: relative;
        display: flex;
        align-items: center;
        padding: 0.5re 1rem;
        border-radius: 10px;
        background-color: #242424;

        input[type="search"] {
            background-color: #242424;
            outline: none;
            border: none;
            width: 42rem;
            height: 100%;
            font-size: 0.7rem;
            border-radius: 5px;
            color: #fff;
            padding-left: 0.8rem;
        }

        button {
            position: absolute;
            right: 0.5rem;
            height: 1.8rem;
            width: 1.8rem;
            border: none;
            border-radius: 10px;
            color: #F7A725;
            background-color: #1A1A1A;
        }
    }

    .header_right {
        width: 60%;
        display: flex;
        justify-content: flex-end;

        .header_list {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            font-size: 13px;
            flex-wrap: nowrap;

            // .homme {
            //     // width: 68px;
            // }

            // .game {
            //     width: 148px;
            // }

            li {
                margin-left: 32px;
                display: inline-block;

                span {
                    display: inline-block;
                }
            }

            img {
                margin: 0;
            }

            .list {
                padding: 12px 15px;
                width: 150px;
                border-radius: 0.5rem;
                background-color: #242424;
                color: #fff;
                position: relative;

                img {
                    margin: 0;
                    padding: 0;
                    padding-right: 8px;
                }

                ul {
                    position: absolute;
                    top: 56px;
                    background-color: #141414;
                    width: 180px;
                    height: 0;
                    transition: all 0.5s;
                    overflow: hidden;
                    transform: translateX(-15px);
                    border-radius: 10px;

                    &.show {
                        height: 330px;
                        transition: all 0.5s;
                        padding: 10px 0;
                    }

                    li {
                        width: 100%;
                        padding: 10px 0;
                        margin: 0;

                        img {
                            height: 16px;
                            width: 16px;
                            padding: 0 15px;
                        }

                        &:hover {
                            background: #1A1A1A;
                        }
                    }
                }
            }
        }
    }
}


/**** */
/* 底部样式设置 */
.bottom {
    width: 100%;
    height: 48px;
    font-size: 12px;
    font-family: 'WenQuanYi Micro Hei';
    color: #959595;
    background-color: #121212;

    .center {
        height: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;

        div {
            padding: 0 14px;
        }

        .left {
            width: 50%;
        }

        .right {
            width: 50%;
            display: flex;
            justify-content: flex-end;

            span {
                margin-left: 30px;

                &:hover {
                    color: #E99B23;
                }
            }
        }
    }

}

/**** */
/* 主体内容样式 */
.content {
    background-color: #050504;

    .navigator {
        width: 100%;
        height: 230px;
        padding: 65px 0;
        color: #fff;

        .center {
            .left {
                width: 30.5%;
                color: #fff;
                padding: 0 8px;

                h2 {
                    font-family: 'poppins,sans-serif';
                    font-size: 50px;
                    font-weight: 400;

                    span {
                        color: #F7A425;
                    }
                }

                p {
                    height: 80px;
                    width: 370px;
                    line-height: 30px;
                    font-size: 15px;
                    color: #afafaf;
                    margin: 25px 0;
                }

                .btns {
                    button {
                        padding: 12px 20px;
                        font-size: 14px;
                        border: none;
                        border-radius: 10px;
                        margin-right: 20px;

                        i {
                            margin-right: 5px;
                        }
                    }

                    &>button:nth-child(1) {
                        background-color: #F7A425;

                        &:hover {
                            background-color: #C77800;
                        }
                    }

                    &>button:nth-child(2) {
                        background-color: #00B866;

                        &:hover {
                            background-color: #02894C;
                        }
                    }
                }
            }

            .right {
                width: 67.5%;
                // padding: 0 10px;
                overflow: hidden;
                box-sizing: border-box;
                position: relative;
                // background-color: #952ec5;

                ul {
                    width: 266%;
                    height: 100%;
                    // padding: 0 4px;
                    display: flex;
                    flex-wrap: nowrap;
                    border-radius: 10px;
                    // background-color: #00B866;
                    box-sizing: border-box;

                    li {
                        width: 100%;
                        height: 100%;
                        margin: 0 8px;
                        border-radius: 10px;
                        box-sizing: border-box;
                        overflow: hidden;
                        position: relative;
                        border: 1px solid #030303;

                        img {
                            width: 100%;
                            height: 160px;
                            object-fit: cover;
                            // object-position: 0 -30px;
                        }

                        .text {
                            width: 100%;
                            padding: 15px;
                            // position: absolute;
                            bottom: 0;
                            background-color: #121212;

                            p {
                                font-size: 14px;
                            }

                            span {
                                font-size: 11px;
                                color: #918c8c;
                            }
                        }

                    }
                }

                &>span {
                    display: none;
                    position: absolute;
                    height: 50px;
                    width: 50px;
                    border-radius: 50%;
                    text-align: center;
                    line-height: 40px;
                    top: 50%;
                    transform: translateY(-50%);
                    color: #fff;
                    font-size: 50px;
                    font-weight: 100;
                    background-color: rgba(0, 0, 0, 0.7);
                    // border-radius: 5px;
                    // cursor: pointer;
                    z-index: 999;
                }

                &>span:nth-child(2) {
                    left: 0px;
                }

                &>span:nth-child(3) {
                    right: 0px;
                }

                &:hover {
                    li:hover {
                        border: #E99B23 1px solid;
                    }

                    &>span {
                        display: block;

                        &:hover {
                            background-color: rgba(0, 0, 0);
                        }
                    }
                }
            }
        }

    }

    .card_one {
        width: 100%;
        padding: 50px 0;
        margin: 30px 0;

        .center {
            flex-direction: column;

            .card_header {
                width: 100%;
                height: 77px;
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 0 15px;
                // background-color: #a01313;
                color: #fff;
                font-size: 16px;
                font-weight: 500;
                box-sizing: border-box;

                .card_header_left {
                    color: #fff;
                    font-size: 22px;
                    display: flex;
                    flex-direction: row;
                    align-items: center;

                    img {
                        width: 37px;
                        height: 37px;

                        &.actions {
                            height: 22.5px;
                            width: 22.99px;
                            margin-right: 10px;
                        }
                    }

                    h3 {
                        padding-left: 5px;
                        font-size: 20px;
                        font-weight: 500;
                        line-height: 37px;
                        ;

                        span {
                            color: #F6A325;
                        }
                    }
                }

                .card_header_right {
                    display: flex;
                    align-items: center;
                    font-size: 12px;
                    color: #4B4A4A;

                    &:hover {
                        color: #F6A325;
                    }

                    i {
                        margin-left: 10px;
                        margin-top: 4px;
                    }
                }
            }

            .card_list {
                width: 100%;

                ul {
                    width: 100%;
                    display: flex;
                    flex-direction: row;
                    justify-content: center;
                    align-items: center;
                    flex-wrap: wrap;

                    .card_item {
                        width: 15.2%;
                        height: 118px;
                        position: relative;
                        margin: 7px;
                        border-radius: 10px;
                        overflow: hidden;

                        img {
                            width: 100%;
                            height: 100%;
                            object-position: 0 -20px;
                            object-fit: cover;
                        }

                        p {
                            display: none;
                            position: absolute;
                            width: 100%;
                            height: 100%;
                            top: 0;
                            left: 0;
                            color: #fff;
                            font-size: 16px;
                            border: none;

                            span {
                                position: absolute;
                                bottom: 10px;
                                left: 10px;
                            }
                        }

                        &:hover {
                            transform: scale(1.05);
                            transition: all 0.3s;

                            p {
                                display: block;
                                background-image: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1));
                            }
                        }
                    }
                }
            }

            .alllist {
                color: #5E96C6;
                width: 100%;
                text-align: center;

                ul {
                    display: inline-block;
                    margin: 20px 0;
                    border-radius: 4px;
                    font-size: 0;
                    padding-left: 0;

                    li {
                        display: inline;

                        &.active>span {
                            color: #fff;
                            background-color: #337ab7;
                            border-color: #337ab7;
                        }

                        span {
                            position: relative;
                            float: left;
                            border: 1px solid #DDDDDD;
                            margin-left: -1px;
                            padding: 6px 12px;
                            font-size: 13px;
                            color: #5E96C6;
                            background-color: #fff;
                            line-height: 1.4;

                            &:hover {
                                color: #23527c;
                                background-color: #eee;
                                border-color: #ccc;
                            }
                        }

                        &:first-child>span {
                            border-top-left-radius: 4px;
                            border-bottom-left-radius: 4px;
                        }

                        &:last-child>span {
                            border-top-right-radius: 4px;
                            border-bottom-right-radius: 4px;
                        }
                    }
                }
            }
        }
    }
}


//***切换模式（明亮模式）*//
.box {
    &.active {
        .header {
            background-color: #101010;

            .search {
                background-color: #E9E9E9;

                input[type="search"] {
                    background-color: #E9E9E9;
                }

                button {
                    background-color: #FFFFFF;
                }
            }

            .header_list {
                color: #7E7E7E;

                .list {
                    background-color: #F7A425;
                    color: #fff;

                    ul {
                        background-color: #fff;

                        li {
                            background-color: #fff;
                            color: #898989;

                            &:hover {
                                background-color: #E2E2E2;
                                color: #7D7D7D;
                            }
                        }

                    }
                }
            }
        }

        .content {
            background-color: #FFFFFF;

            .navigator {
                background-color: #F7A425;

                .left {
                    h2 {
                        color: #fff;

                        span {
                            color: #fff;
                        }
                    }

                    p {
                        color: #fff;
                    }

                    .btns>button:nth-child(1) {
                        background-color: #fff;
                        color: #F7A425;

                        &:hover {
                            background-color: #B27210;
                            color: #fff;
                        }
                    }

                    .btns>button:nth-child(2) {
                        background-color: #00B866;
                        color: #fff;

                        &:hover {
                            background-color: #02894C;
                        }
                    }
                }

                .right {
                    ul {
                        li {
                            border-color: #fff;

                            &:hover {
                                border-color: #BB9965;
                            }

                            .text {
                                background-color: #fff;
                                color: #202020;

                                span {
                                    color: #B1ADAD;
                                }
                            }
                        }
                    }

                    &:hover>span {
                        background-color: rgba(0, 0, 0, 0.7);

                        &:hover {
                            background-color: rgba(0, 0, 0, 0.5);
                        }
                    }
                }
            }

            .card_one {
                background-color: #E9E9E9;

                .card_header_left {
                    h3 {
                        color: #000;
                    }
                }
            }

            .card_two {
                .center {
                    .middle {
                        .card_header {
                            h3 {
                                span {
                                    color: #09BA6B;
                                }
                            }
                        }
                    }

                    .card_header {
                        display: flex;
                        background-color: #E9E9E9;
                        padding: 6px 16px;
                        border-radius: 20px;

                        h3 {
                            color: #000;
                        }
                    }

                    ul {
                        background-color: #fff;
                    }
                }

                color: #868587;
            }

            .card_three {
                border-top: 1px solid gainsboro;

                .card_header_left {
                    padding: 0 16px;
                    border-radius: 40px;
                    background-color: #E9E9E9;

                    h3 {
                        color: #000;
                    }
                }

                .card_list {
                    ul {
                        .card_item {
                            .item {
                                background-color: #E9E9E9;
                                border-color: #fff;

                                p {
                                    span {
                                        color: #000;
                                    }
                                }
                            }

                            &:hover {
                                .item {
                                    background-color: #F7A425;
                                    border-color: #F7A425;

                                    p {
                                        span {
                                            color: #FFF;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }

            .card_four {
                background-color: #E9E9E9;

                .bottom_middle>h3,
                .bottom_right>h3 {
                    color: #000;
                }
            }
        }

        .bottom_middle,
        .bottom_right {
            h3 {
                color: #000000;
            }
        }
    }
}

//**** 当屏幕小于900px时的显示*//

@media screen and (max-width: 900px) {
    html {
        font-size: 12px;
    }

    .box {
        .header {
            width: 100%;
            height: 140px;
            position: fixed;
            z-index: 999;
            top: 0;
            padding: 15px 0;

            .center {
                width: 100%;
                height: 100%;
                display: flex;
                justify-content: space-between;
                align-items: center;
                position: relative;
                box-sizing: border-box;

                img {
                    position: absolute;
                    top: 0;
                    left: 0;
                }

                .search {
                    position: absolute;
                    width: 100%;
                    bottom: 0;
                    box-sizing: border-box;
                    font-size: 15px;
                    height: 40px;

                    input[type="search"] {
                        font-size: 15px;
                    }
                }

                .header_right {
                    position: absolute;
                    top: 0;
                    right: 0;
                }
            }
        }
    }
}